package com.gametheoryserver.gui.nim.state;

import com.gametheoryserver.gui.nim.PlayNim;

/**
 * @author Tomas Barak
 * 
 */
public class PlayNimStateHolder {

	public static INimState PLAYER_ONE_STATE = new PlayerOneState();
	public static INimState PLAYER_TWO_STATE = new PlayerTwoState();
	public static INimState COMPUTER_ONE_STATE = new ComputerOneState();
	public static INimState COMPUTER_TWO_STATE = new ComputerTwoState();
	public static INimState SHOW_STRATEGY_STATE = new ShowStrategyState();
	public static INimState HIDE_STRATEGY_STATE = new HideStrategyState();
	public static INimState ROW_CHANGE_STATE = new RowChangeState();

	public static void setState(INimState playState, PlayNim playNim) {
		playState.refreshGame(playNim);
	}
}
